<template>
  <div id="index">
    <headerNav :menu="showMenu"></headerNav>
    <h2>本程序仅供内部使用，未发布之前请勿外泄！</h2>
    <div class="cn">
      <el-button type="primary" @click="open('login')">开始进入系统</el-button>
    </div>
    <!-- <video src="https://www.w3school.com.cn/i/movie.ogg" controls="controls">
    your browser does not support the video tag
    </video> -->
  </div>
</template>
<script>
import headerNav from './header.vue'
export default {
  components: {headerNav},
  data () {
    return {
      showMenu: false
    }
  },
  name: 'index',
  methods: {
    open (link) {
      this.$router.push(`${link}`)
    }
  }
}
</script>
<style scoped lang="less">
#index {
  height:200px;
  h2 {
    text-align: center;
    line-height: 32px;
    margin-top:60px;
  }
  .cn{
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top:16px;
  }
}
</style>